logo

New Response

« Return to the blog entry

You are replying to:

    • avatar
    • Ayhan
    • Posted on Wed 26 Aug 2009 10:21 AM

    I also make use of the YUICompressor and had good experience with it. For GZIPPING i use an Apache Webserver or for local development the puakma web booster.

    Here are the results (without optimization):

    http://www.handwerker-im-allgaeu.de/hia/web.nsf/gfx/before.jpg/$file/before.jpg

    Results (gzipped and YUICompressed):

    http://www.handwerker-im-allgaeu.de/hia/web.nsf/gfx/after.jpg/$file/after.jpg

    For webprojects, i also get use of CSS Sprite Generator (http://spritegen.website-performance.org/) to minify the http-requests on clientside.

    Tip: YUICompressor also works on CSS files !

    My batch-file for minify my CSS + JS for www.handwerker-im-allgaeu.de (sorry, german site):

    java -jar yuicompressor-2.4.2.jar c:\jsmin\org\jquery.hw.devAS.js -o c:\jsmin\min_yui\jquery.hw.min.js

    java -jar yuicompressor-2.4.2.jar c:\jsmin\org\hia.style.devAS.css --type css -v -o c:\jsmin\min_yui\hia.style.min.css

    java -jar yuicompressor-2.4.2.jar c:\jsmin\org\hia.style.print.devAS.css --type css -v -o c:\jsmin\min_yui\hia.style.print.min.css

    java -jar yuicompressor-2.4.2.jar c:\jsmin\org\jquery.fancybox.devAS.css --type css -v -o c:\jsmin\min_yui\jquery.fancybox.min.css

    java -jar yuicompressor-2.4.2.jar c:\jsmin\org\google.maps.devAS.js -o c:\jsmin\min_yui\google.maps.min.js

    java -jar yuicompressor-2.4.2.jar c:\jsmin\org\jquery.easing.devAS.js -o c:\jsmin\min_yui\jquery.easing.min.js

    java -jar yuicompressor-2.4.2.jar c:\jsmin\org\jquery.fancybox.devAS.js -o c:\jsmin\min_yui\jquery.fancybox.min.js

    java -jar yuicompressor-2.4.2.jar c:\jsmin\org\jquery.input.control.devAS.js -o c:\jsmin\min_yui\jquery.input.control.min.js

    java -jar yuicompressor-2.4.2.jar c:\jsmin\org\csschart.devAS.css --type css -v -o c:\jsmin\min_yui\csschart.min.css

    java -jar yuicompressor-2.4.2.jar c:\jsmin\org\hia_haf_functions.devAS.js -o c:\jsmin\min_yui\hia_haf_functions.min.js

    Cheers

    Ayhan

Your Comments

Name:
E-mail:
(optional)
Website:
(optional)
Comment: